    .section .text
    .global _start
    .align 2
_start:
    li    t0, 0x10000000
    li    t1, 'S'
    sb    t1, 0(t0)

    la    sp, stack_top
    li    t1, 'P'
    sb    t1, 0(t0)

    la    t0, _sbss
    la    t1, _ebss
1:
    beq   t0, t1, 2f
    sd    zero, 0(t0)
    addi  t0, t0, 8
    j     1b
2:
    call  main
hang:
    j     hang

